home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11110 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.dacom.co.kr!vyzynz!inteleNET!usenet
  2. From: cjmorgan@intele.net (Jason V. Morgan)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: String Upper/Lower--void main an error?
  5. Date: 22 Mar 1996 00:18:51 GMT
  6. Organization: inteleNET Internet Services
  7. Distribution: world
  8. Message-ID: <4isrlb$s5o@vodka.intele.net>
  9. References: <4ifra6$52i@scipio.cyberstore.ca> <DoFA24.AL7@iquest.net> <4ii1nh$bng@castle.nando.net> <4ini70$8j@vodka.intele.net> <Pine.A32.3.91.960320021731.87028D-100000@red.weeg.uiowa.edu>
  10. NNTP-Posting-Host: 206.29.210.154
  11. Mime-Version: 1.0
  12. Content-Type: Text/Plain; charset=US-ASCII
  13. X-Newsreader: WinVN 0.99.7
  14.  
  15. >  main() is _supposed_ to return int.  Anything that causes it to have 
  16. >any other return type is nonportable, and results in undefined behavior.
  17. >
  18. >  The FAQ is available via anonymous ftp from rtfm.mit.edu in the 
  19. >directory /pub/usenet-by-group/comp.lang.c.
  20.  
  21. I apologize for the posting.  I stand corrected.  Actually I did *start* to 
  22. read the FAQ, but to be honest, I kind of became bored (I blame TV).  I 
  23. renounce void mains and shall eradicate them from my programming.
  24.                 --Jason V. Morgan
  25.  
  26.